<div class="box">
    <h2 class="title"><?php echo $model->title; ?></h2>
    <div class="news details">
        <div class="item clearfix">
            <?php if (!empty($model->article->image) && file_exists(substr($model->article->image,1))) : ?>
                <img class="img" src="<?php echo baseUrl().$model->article->image; ?>" />
            <?php endif; ?>
            <div class="date"><?php $ts = strtotime($model->article->update_time); echo date('h:i A',$ts).' | '.((Yii::app()->language=='vi_vn') ? date('d/m/Y',$ts) : date('m/d/Y',$ts)); ?></div>
            <div class="content">
                <?php echo $model->content; ?>
            </div>
        </div>
    </div>
</div>